<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>{% block title %}查询结果!{% endblock %}</title>
    <link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" type="text/css">
</head>
<body>
<main class="container">
    <header>
        <h1 class="text-center display-4">
            <small class="text-muted sub-title">{{ uname }} 先生 您查询的：</small>
             <a href="{{ url_for('hello_world') }}" class="text-success"><strong>{{ origin }}</strong></a>


        </h1>
        <small class="text-muted sub-title">结果为：</small>
        <h1 align="center"><a href="{{ url_for('hello_world') }}" class="text-success"><strong>{{ result }}</strong></a></h1>

        <small class="text-muted sub-title">智能结果为：</small>

    </header>


    {% for s in sw %}
        <p class="text-success">{{ s }}</p>
    {% endfor %}


    {% for message in get_flashed_messages() %}
        <div class="alert alert-info">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            {{ message }}
        </div>
    {% endfor %}

    {% block content %}{% endblock %}



    <footer class="text-center">
        {% block footer %}
            <small> &copy; 2020 <a href="">张博 with YBC</a></small>
            <p><a id="bottom" href="#" title="Go Top">&uarr;</a></p>
        {% endblock %}
    </footer>
</main>


</body>
</html>
